package com.hyt.it.ogt.kq.service.gov.schedule.model;

import java.util.List;
import java.util.Set;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 编排后考场信息
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ScheduleExamRoom {
    String placeId;

    String timeRoomId;
    // 考场ID
    String roomId;

    String province;

    String city;

    String district;

    String dept;

    public int capacity;

    @ApiModelProperty(value = "考场应答方式")
    public String examType;

    // 机构组合名
    String groupName;

    // 编排后包含科目
    Set<String> subjects;

    // 编排后考场包含考生
    List<ScheduleCandidate> candidates;

    // // 编排后考生信息
    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    @Builder
    public static class ScheduleCandidate {

        private String candidateSubjectId;

        // 云考试报名考生id
        public String bmStudentId;

        // 考场编号
        public String roomId;

        // 考试科目
        public String subject;

        // 考场位置信息
        public int position;

    }
}
